﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Shop.Core.Domain.Media;

namespace Shop.Core.Domain.Catalog
{
    /// <summary>
    /// 商品图片。
    /// </summary>
    /// <remarks>
    /// 大图小图模式。只有商品到商品图片的导航，逆向导航没有。
    /// </remarks>
    public partial class ProductPicture : BaseEntity<long>
    {
        /// <summary>
        /// 大图
        /// </summary>
        public virtual Picture BigPicture
        {
            get;
            set;
        }

        /// <summary>
        /// 小图
        /// </summary>
        public virtual Picture SmallPicture
        {
            get;
            set;
        }

        /// <summary>
        /// 显示顺序
        /// </summary>
        public virtual int DisplayOrder
        {
            get;
            set;
        }
    }
}
